Python AND logic

welcome to shbcf.ru